import request from "../utils/request.js";
// 头像昵称修改

export function userInfoChange(data = {}) {
  return request({
    url: "/userInfoChange",
    method: "post",
    data,
  });
}
//app端维护用户微信号
export function updateWxAccount(data = {}) {
  return request({
    url: "/system/user/updateWxAccount",
    method: "put",
    data,
  });
}

// 获取电子简历
export function getEResumeList(data = {}) {
  return request({
    url: "/resumeElectronic",
    method: "get",
    data,
  });
}
// 用户注销
export function userLogout(data = {}) {
  return request({
    url: "/system/user/userLogout",
    method: "delete",
    data,
  });
}
// 用户退出登录
export function loginOut(data = {}) {
  return request({
    url: "/logout",
    method: "post",
    data,
  });
}

// 获取xgt基本信息
export function getCustomerService(query) {
  return request({
    url: '/system/user/getCustomerService',
    method: 'get',
    params: query
  })
}
